package com.qiahao.service;

import com.qiahao.bean.Question;

import java.util.Map;

public interface VoiceService {

    /**
     * 根据问题获取语音
     *
     * @param question
     * @return
     */

    Map<String,Object> getVoice(Question question);


    /**
     * 语音转文字
     *
     * @param speech
     * @return
     */
    Map<String, Object> voice2Text(String speech);


}
